<%@ page import="java.util.Enumeration" %><%--
  Created by IntelliJ IDEA.
  User: v
  Date: 17-3-23
  Time: 上午8:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Test1</title>
</head>
<body>
<pre>
<%
    Enumeration<String> enema=application.getAttributeNames();

    while (enema.hasMoreElements()){
        String name=enema.nextElement();
        String value=application.getInitParameter(name);
        out.println(name);
        out.println(value);
    }
%>
</pre>
</body>
</html>
